package com.office.supplies.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.ArrayList;

/**
 * @Author admin
 * @Description TODO
 * @Date 2023/12/13/10:01
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TurnoverVO implements Serializable {

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    //日期：如，2022-10-01,2022-10-02,2022-10-03
    private ArrayList<LocalDate> dateList; // 日期列表

    //营业额：如，406.0,1520.0,75.0
    private ArrayList<Double> turnoversList; // 日期对应的营业额

}
